import { IntersectionType, OmitType, PartialType } from '@nestjs/swagger'
import { ListPaginationDto } from '@/shared/types/globalDto.dto'
import { WheelPrize } from '../entities/wheel-prize.entity'

export class CreateDto extends OmitType(WheelPrize, ['wheelPrizeId', 'createdAt', 'updatedAt']) {}

export class UpdateDto extends CreateDto {}

export class FindOneDto extends PartialType(OmitType(WheelPrize, ['createdAt', 'updatedAt'])) {}

export class FindAllDto extends FindOneDto {}

export class ListPageDto extends PartialType(IntersectionType(FindOneDto, ListPaginationDto)) {}

export class WebListPageDto extends ListPageDto {}
